package com.zhiyou.crud.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
//咨询
public class News {
    @Id
    private Integer nno;//编号
    private String ntitle;//标题
    private String ncontent;//内容

}
